package javazuoye4;

import java.util.Scanner;

public class zuoye03 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        for (int i = 0; i <=str.length()/2; i++) {
            char ch = str.charAt(i);
            char ch2 = str.charAt(str.length() - 1 - i);
            if (ch != ch2) {
                System.out.println("不是回文");
                break;
            }
            if (i==str.length()-i||i==str.length()-1-i) {
                System.out.println("是回文");
            }
        }
    }

}
/*
*   3。随机输入字符串 判断是否是回文
 *  aba  是
 *  nba 不是
 *
* */